[Mesh]
  type = GeneratedMesh
  dim = 1
  nx = 10
  ny = 1000
[]

[Variables]
  [./u]
    family = MONOMIAL
    order = FIRST
  [../]
[]
[Functions]
  [func]
     type = ParsedFunction
     value = x+2
  []
[]

[Adaptivity]
  [Indicators]
    [average]
      type = FunctionElemIndictor
      function = func
      variable = u
    []
  []
[]


[Kernels]
  [./diff]
    type = VFVCellKernel
    variable = u
    average = average
  [../]
[]

[DGKernels]
  [face]
    type = VFVFaceKernel
    variable = u
  []
[]


[Executioner]
  type = Steady
  solve_type = 'NEWTON'
  petsc_options_iname = '-pc_type -pc_hypre_type'
  petsc_options_value = 'hypre boomeramg'
  l_tol = 1E-010
  l_max_its = 10
[]

[Outputs]
  exodus = true
[]
